package com.ys.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @描述: 主库属性
 * @类名:
 * @作者: yangshuang
 * @创建时间: 2017/6/5 15:42
 * @版本: v1.0
 */
@Component
@ConfigurationProperties(prefix = "masterDB")
@Data
public class MasterProperties {

    private String dataSourceUrl;
    private String userName;
    private String password;
    private String driverClassName;

}
